using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Acme.BookStore.FormWhxDto.BinlocationDto;

namespace Acme.BookStore.FormWhxDto.StorehouseDto
{
    public class UpdateStorehouseWithLocationsDto
    {
        /// <summary>
        /// 仓库ID
        /// </summary>
        [Required]
        public Guid Id { get; set; }

        /// <summary>
        /// 仓库信息
        /// </summary>
        [Required]
        public CreateUpdateStorehouseDto Storehouse { get; set; }

        /// <summary>
        /// 库位信息列表
        /// </summary>
        public List<CreateUpdatelocationModelDto> Locations { get; set; }

        /// <summary>
        /// 要删除的库位ID列表
        /// </summary>
        public List<Guid> LocationIdsToDelete { get; set; }
    }
} 